UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Audit log files must have mode 0640 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-209053 OL6-00-000383 SV-209053r505921_rule Medium
Description
If users can write to audit logs, audit trails can be modified or destroyed.
STIG Date
Oracle Linux 6 Security Technical Implementation Guide 2020-09-10

Details

Check Text ( C-9306r357944_chk )
Run the following command to check the mode of the system audit logs:

grep "^log_file" /etc/audit/auditd.conf|sed s/^[^\/]*//|xargs stat -c %a:%n

Audit logs must be mode 0640 or less permissive.
If any are more permissive, this is a finding.
Fix Text (F-9306r357945_fix)
Change the mode of the audit log files with the following command:

# chmod 0640 [audit_file]